package com.user_hosted_storage.dto;

import javax.xml.bind.annotation.XmlRootElement;

import com.user_hosted_storage.dto.annotations.Transient;

/**
 * Entity implementation class for Entity: Client
 *
 */
@XmlRootElement
public class ClientDTO extends DTO{

	@Transient
	private String email;
	
	private String userName;
	
	private String ip;
	
	private int connectPort;
	
	private int acceptPort;
	
	@Transient
	private byte[] certificate;
	
	@Transient
	private byte[] keystore;
	
	@Transient
	private byte[] truststore;
	
	public ClientDTO() {
	
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}	
	
	public int getConnectPort() {
		return connectPort;
	}

	public void setConnectPort(int connectPort) {
		this.connectPort = connectPort;
	}

	public int getAcceptPort() {
		return acceptPort;
	}

	public void setAcceptPort(int acceptPort) {
		this.acceptPort = acceptPort;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public byte[] getCertificate() {
		return certificate;
	}
	
	public void setCertificate(byte[] certificate) {
		this.certificate = certificate;
	}

	public byte[] getKeystore() {
		return keystore;
	}

	public void setKeystore(byte[] keystore) {
		this.keystore = keystore;
	}

	public byte[] getTruststore() {
		return truststore;
	}

	public void setTruststore(byte[] truststore) {
		this.truststore = truststore;
	}
}
